import Vue from "vue";
import VueRouter from "vue-router";


import checkmanage from "../pages/checkmanage/index.vue";
import orangizemanage from "../pages/orangizemanage/index.vue";
import infosearch from "../pages/infosearch/index.vue";
import canjiandanwei from "../pages/canjiandanwei/index.vue";
//danganmanage
import danganmanage from "../pages/danganmanage/index.vue";
import tongjifenxi from "../pages/tongjifenxi/index.vue";
import zanjianproject from "../pages/zanjianproject/index.vue";
import diaodu from "../pages/diaodu/index.vue";


Vue.use(VueRouter);

const routes = [
    {
        path:"/checkmanage",
        name:'checkmanage',
        component: checkmanage
    },
    {
        path: "/infosearch",
        name:'infosearch',
        component: infosearch
    },
    {
        path: "/canjiandanwei",
        name:'canjiandanwei',
        component: canjiandanwei
    },
    {
        path: "/danganmanage",
        name:'danganmanage',
        component: danganmanage
    },
    {
        path: "/tongjifenxi",
        name:'tongjifenxi',
        component: tongjifenxi
    },
    {
        path: "/zanjianproject",
        name:'zanjianproject',
        component: zanjianproject
    },
    {
        path: "/orangizemanage",
        name:'orangizemanage',
        component: orangizemanage
    },
    {
        path: "/diaodu",
        name:'diaodu',
        component: diaodu
    },
    {
        path: "*",
        redirect:'/checkmanage'
    }
]

var router =  new VueRouter({
    routes
})
export default router;